<#include "/lib/macro-lib.ftl"/>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<script src="../../js/calendar.js"></script>
</head>
<#include "/xadmin/inc/common.html">
<body>
<div align="center" class="easyui-panel" data-options='fit:true,border:false'>
<script>
function formCheck(f){
	if (f.name.value == ""){
		alert("请填写用户名称!");
		f.name.focus();
		return false;
	}
}
<#if ret??>
  alert('${ret}');
</#if>
</script>
<br>
<table width="98%" border="0" cellpadding="4" cellspacing="0" class="table_all">
<form name="frm" method="post" action="useraddact.do" onSubmit="return formCheck(this)">
    <tr> 
      <td width="100" class="td_table_1">用户名称:</td>
      <td width="*" class="td_table_2"> 
        <input type="text" name="name" >
      </td>
    </tr>
    <tr> 
      <td width="100" class="td_table_1">性别:</td>
      <td width="*" class="td_table_2"> 
        <input type="radio" name="sex" value="1" checked>男&nbsp;
        <input type="radio" name="sex" value="0" >女
      </td>
    </tr>
    <tr> 
      <td width="100" class="td_table_1">出生日期:</td>
      <td width="*" class="td_table_2"> 
        <input type="text" name="birthday"  onclick="calendar.show(this);">
      </td>
    </tr>
    <tr> 
      <td width="100" class="td_table_1">限额:</td>
      <td width="*" class="td_table_2"> 
        <input type="text" name="quota" >
      </td>
    </tr>
    <tr> 
      <td width="100" class="td_table_1">状态:</td>
      <td width="*" class="td_table_2"> 
        <select name="zt" class="easyui-combobox">        
        	<option value="1">启用</option>
        	<option value="0">禁用</option>
        </select>
      </td>
    </tr>
    <tr> 
      <td width="100" class="td_table_1">排序:</td>
      <td width="*" class="td_table_2"> 
        <input type="text" name="px" size="5">
      </td>
    </tr>
    <tr> 
      <td class="td_table_2">&nbsp;</td>
      <td class="td_table_2"> 
          <input type="submit" class="button_70px" value="保存">&nbsp;&nbsp;&nbsp;&nbsp;
           <input type="button" class="button_70px" value="返回列表" onclick="location.href='userlist.do'">
      </td>
    </tr>
</form>
</table>
</div>
</body>
</html>